package com.ytjj.qmyx.supplychain.mapper;

import com.kuaidi100.sdk.response.ProductCategoryResp;
import com.ytjj.qmyx.supplychain.common.model.dto.ProductCategoryDto;
import com.ytjj.qmyx.supplychain.mapper.entity.YxProductCategory;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ProductCategoryMapper extends Mapper<YxProductCategory> {

    List<ProductCategoryResp> selectCategoryByIds(@Param("ids") List<Integer> ids);

    List<ProductCategoryResp> selectProductCategory();

    List<ProductCategoryDto> getCategoryIdByBottomCategoryId(@Param("bottomCategoryIds") List<Integer> bottomCategoryIds);
}
